Problems with tag O(log(m * n))